package oop2;

public class StuTest2 {

	public static void main(String[] args) {
		Student st = new Student();

		st.java = -40;
		st.music = 10000;
		st.show();
		// 直接访问属性的途径 堵死

		st.show();
	}

}
